package com.jjty.dataGenerator.sxhcampus.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * oa系统查询结果
 */
@Data
public class OAQueryOrderResult implements Serializable {

    //0:成功
    private Integer code;

    private String msg;

    //数量
    private String time;

    private List<OAOrderData> data;

    /**
     * 返回true表示执行成功
     * @return
     */
    public boolean success(){
        return code == 0;
    }
}
